﻿@model Vacation.Models.Course

@{
    ViewBag.Title = "课程详情";
}

<h2>课程详情</h2>
<table width="100%" class="edit">
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.CourseNo)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.CourseNo)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Name)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Name)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Type)
                </div>
            </th>
            <td>
                <div class="display-field">
                     @Html.DisplayFor(model => model.Type)
                </div>
            </td>
        </tr>
        <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.School)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.School)
                </div>
            </td>
        </tr>
                <tr>
            <th>
                <div class="display-label">
                    @Html.LabelFor(model => model.Teacher)
                </div>
            </th>
            <td>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Teacher)
                </div>
            </td>
        </tr>
                <tr>
            <th>
                <div class="display-label">
                     @Html.LabelFor(model => model.Date)
                </div>
            </th>
            <td>
                <div class="display-field">
                     @Html.DisplayFor(model => model.Date)
                </div>
            </td>
        </tr>
    </table>
<p>
    @Html.ActionLink("编辑", "Edit", new { CourseNo=Model.CourseNo }) |
    @Html.ActionLink("删除", "Delete", new { CourseNo = Model.CourseNo }) |
    @Html.ActionLink("返回列表", "Index")
</p>
